#include<iostream>
#include<cstdlib>
#include <string.h>

using namespace std;

class M{
      char *isim;
      public:
              M(const char * );
              void display();
      
      };
      M::M (const char *c){
      isim=new char(sizeof(c));
      strcpy(isim,c);       
             
      }
      void M::display()
      {
      cout<<isim;     
      }

main(){
     M c= "murat hacioglu\n";
     c.display();  
             
system("pause");
return 0;      
      
}
